package com.zryc.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 物流公司信息表
 * </p>
 *
 * @author xujiajun
 * @since 2022-10-17
 */
@TableName("shipping_info")
@ApiModel(value = "ShippingInfo对象", description = "物流公司信息表")
public class ShippingInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "ship_id", type = IdType.AUTO)
    private Byte shipId;

    @ApiModelProperty("物流公司名称")
    private String shipName;

    @ApiModelProperty("物流公司联系人")
    private String shipContact;

    @ApiModelProperty("物流公司联系电话")
    private String telephone;

    @ApiModelProperty("配送价格详细说明")
    private String priceDetail;

    public Byte getShipId() {
        return shipId;
    }

    public void setShipId(Byte shipId) {
        this.shipId = shipId;
    }

    public String getShipName() {
        return shipName;
    }

    public void setShipName(String shipName) {
        this.shipName = shipName;
    }

    public String getShipContact() {
        return shipContact;
    }

    public void setShipContact(String shipContact) {
        this.shipContact = shipContact;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getPriceDetail() {
        return priceDetail;
    }

    public void setPriceDetail(String priceDetail) {
        this.priceDetail = priceDetail;
    }

    @Override
    public String toString() {
        return "ShippingInfo{" +
            "shipId = " + shipId +
            ", shipName = " + shipName +
            ", shipContact = " + shipContact +
            ", telephone = " + telephone +
            ", priceDetail = " + priceDetail +
        "}";
    }
}
